package com.dux.spbtservice.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;

/**
 * Title: WebSecurityConfig <br>
 * Description: WebSecurityConfig <br>
 * Date: 2018年10月24日
 *
 * @author 王东旭
 * @version 1.0.0
 * @since jdk8
 */
@Configuration
public class WebSecurityConfig extends WebSecurityConfigurerAdapter {

    @Override
    protected void configure(HttpSecurity http) throws Exception {
        http
           .antMatcher("/**")
           .authorizeRequests()
           .antMatchers("/**").permitAll();
    }
}
